<?php
/**
 * Pert Library
 * Language Class
 *
 * @author	Emre Hasegeli <hasegeli@gmail.com>
 * @license	GNU General Public License v3
 */

namespace Pert;

class Language
{
	private $id;

	protected function __construct($id)
	{
		$this->id = $id;
	}

	public final function Id()
	{
		return $this->id;
	}

	public function __ToString()
	{
		return $this->id;
	}

	public static function Select($id)
	{
		return new self($id);
	}
}
